package com.miplus.ccrm.common;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

//@Accessors(chain = true)
//链式访问，该注解设置chain=true，生成setter方法返回this（也就是返回的是对象），代替了默认的返回void

@Data
@Accessors(chain = true)
@NoArgsConstructor
public class EscResVo {
    /**
     * 执行行数 状态
     */
    @JsonProperty("ExecSt")
    private Integer execSt;

    /**
     * 信息描述
     */
    @JsonProperty("DscMsg")
    private String dscMsg;

    public EscResVo(Integer execSt) {
        this.execSt = execSt;
    }
    public EscResVo(Integer execSt, String dscMsg) {
        this.execSt = execSt;
        this.dscMsg = dscMsg;
    }
}

